package com.pwt.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author dw
 * @version 1.0.0
 * @date 2022/1/22
 */
@Data
@Schema(name = "曲线历史模型")
public class CurvesHistoryModel {

    @Schema(name = "k0014",description = "零件号")
    private String k0014;

    @Schema(name = "k0004",description = "测量时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date k0004;

}
